package com.moyq5.mvc.framework.general;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * @author Moyq5
 * @date 2018年9月18日
 */
public class PageData extends Sorting {
	/**
	 * 当前页码
	 */
	@JsonSerialize
	private int nowPage = 1;

	/**
	 * 分页大小
	 */
	@JsonSerialize
	private int pageSize = 20;

	public int getNowPage() {
		return nowPage;
	}

	public void setNowPage(int nowPage) {
		this.nowPage = nowPage;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
}
